<?php

namespace App\Exceptions\Interfaces;


class OrderGoodsServiceException extends \Exception
{

	protected $data = [];

	public function __construct($message, $data = [])
	{
		$this->data = array_merge($this->data, $data);

		parent::__construct($message);
	}

	public function getData($value='')
	{
		return $this->data;
	}

}
